/**
 * 获取当前时间格式化后的字符串
 * @returns String
 */
const getCurrentFormatedTime=()=>{
    let _padNumber=s=>String(s).padStart(2,'0');
    const d=new Date();
    let yyyy=d.getFullYear();
    let mm=_padNumber(d.getMonth()+1);
    let dd=_padNumber(d.getDate());
    return  `${yyyy}-${mm}-${dd}`
} 
module.exports={
    getCurrentFormatedTime
}